<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>数组新增方法</h2>
</body>
<script>
    function sum() {
        console.log(arguments[0])
       // let args=Array.from(arguments)
        //console.log(args)
        let args=[...arguments]
        args.push('2104C','全栈开发')
        console.log(args)
      
    }

    sum(22,3,4,5)
</script>
</html>